package com.wondertek.service.sdk.iotdh.dto.req.installer;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author xxx
 * @Date 2024/8/25 13:45
 */
@Data
public class DeviceInfo {
    @Schema(name = "address", description = "IP地址")
    private String address;

    @Schema(name = "devCode", description = "设备密码(Aes256加密)")
    private String devCode;

    @Schema(name = "port", description = "端⼝ 0到65535")
    private Integer port;

    @Schema(name = "protocol", description = "协议\n" +
            "\"Private\"；\"Dahua2\"；\"Dahua3\"；\"\n" +
            "General\"；\"Onvif\"\n" +
            "\"GB28181\"；\"Ehome\"；\n" +
            "\"ICC\"；\"DahuaDSS\"；\"Tiandy\"；\"L\n" +
            "UAN\"。")
    private String protocol;

    @Schema(name = "userName", description = "用户名")
    private String userName;
}
